import giftRouter from './gift'
import sceneCodeRouter from './sceneCode'
import payCenterRouter from './pay'
import advertRouter from './advert'
import messageRouter from './message'
import expressRouter from './express'
import newcomerRouter from './newcomer'
import finishRouter from './finish'
import operationHomeRouter from './operation'

import Layout from '@/layout'

const operationRouter = {
  path: '/operation',
  name: 'Operation',
  redirect: '/operation/operation_center',
  component: Layout,
  meta: {
    title: '运营中心',
    icon: 'operation-center'
  },
  children: [
    operationHomeRouter,
    payCenterRouter,
    messageRouter,
    advertRouter,
    sceneCodeRouter,
    expressRouter,
    newcomerRouter,
    finishRouter,
    giftRouter
  ]
}

export default operationRouter
